Updates javavscript