im done for today edited the javascript