Dependency on timelib.js removed. Fixed error message routing.