Remove unused bootstrap-switch & tag

Changes not visual. Also fixes jshint issues and a bad reference to test_api.js.