Jobs javascript fixed