moves chart script to separate js file
misc jslint changes
moves styling to css file