Added a ton of javascript