fixing require statement for bootstrap js
cleaning up config so that rails 4 doesn't emit warnings