updates to javascript code