Moved js into external files, added htaccess rules for better cachine, plus cache busting variable in config