bunch of javascript