Cleans up class names, documents each function, adds new capture method for Javascript and CSS.