Make times module compile with javascript backend
Merge pull request #1488 from def-/js-times

Make times module compile with javascript backend