did more stuff to javascript