A very javascripty function that converts numbers to its English word representation

The function

num should be Number between and including 0 and Number.MAX_SAFE_INTEGER (9007199254740991). Returns String.

Also at Github gists and num-to-words.js. MY SITE IS NOT A CDN

Showcase

Explanation

A very javascripty function that converts numbers to English words.

It uses of javascript's slippery type conversion and string manipulation. Just 751 characters minified. Works with all integers from 0 to the max value IEEE 754 double can safely handle. Where "and" is inserted can be changed to whatever you like on line 11.