updates application.js

corrects load order from after jquery to first place
corrects bootstrap integration from require to import

fixes #20