Fixing up the js and the css to make it look pretty.