fixed bad js reference