Updated to latest version of javascript