Converted the boilerplate js scripts to coffee