cleaned up some css and js code