Simpify javascript_for_timer_type a little (transferred from ManageIQ/manageiq@6f6b3f013c6ec4680ee5a184fc30b4688888dbb4)
Simpify javascript_for_timer_type a little
(transferred from ManageIQ/manageiq@6f6b3f013c6ec4680ee5a184fc30b4688888dbb4)

ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic,ManageIQ/manageiq-ui-classic