adds weights to the JavaScript and CSS files
cleans up some commented out code