Retain time when reloading videos via javascript

Fixes #74