addding a lot of javascript