updates to the javascript

still learning