Fixing js reference