fixed requirejs and bootstrap scrollspy issues.