Moved javascript into barclamp specific application.js, register barclamp javascripts