Change javascript execution scope (enterScope)