Improve Cakefile
Merge pull request #204 from Prillan/js-fixes

Improve Cakefile