updated javascript usage, and added coffeescript usage