moving coffeescript into its own file