js updated remotely