updates application.js

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

fixes #20
Merge branch 'Imnudar-bug-fix-javascript-loading-twice'