Made it work with new dependencies from opening_hours.js.