adjust js reference