added ALL of the javascript...