Moved token.coffee to public js