removed a bunch of javascript