bug fix when require is not defined -> use typeof operator.
Merge branch 'master' of github.com:citylive/citylife-timetables