only bind the callback if the js object exists. Love coffeescript!
Merge remote-tracking branch 'origin/master'

Conflicts:
	app/assets/javascripts/application.js.coffee