Added javscript for loading jobs on dashboard