removed redundant scripts, ensured all scripts are minified