Updated Javascript to use PeopleSoftCode