js reference updated