#3 fixed now using separate js file to initialize and is minified