Update base.js.coffee

Compatibility with jquery-ui-rails 5.0.0