.js extension and https fix

Added the js extension to the JS files and added https for google places api