define local $ in run.js