add coffee script compile and automatic js watching

added coffee script compiling for production and development mode and
automatic updating of the javascript through requires compilation.