Updating js variable usage.