Update plain js in repo