HUE-1217 [jobsub] App breaks on IE8

Changed js code that breaks on IE8