combined `tick` and `Tick`. Added nodejs and possible AMD support