I totes forgot coffeescript scopes the files. Defining on window.
Requiring cookie-plugin