Create tracer.js

Copied from gametroll.net