cleaned up js code
Merge branch 'master' of github.com:tr8n/tr8n_rails_clientsdk