Remove autogenerated coffeescripts
Fix some javascript errors