Updating client side js