Redirect .js to code path