Deletes unused js files and loads minified files for improved load time

Also, adds check to avoid js error (missing targetUrl's value would
throw a js error -controller.js)
Adds config file instructions