updated generator to support JS as primary type, and coffee-script as co...

...mmand line option