Update javascript and hopefully remove an error