Update timewarp.js

Incomplete... Needs further review