Implement two functions from original vbscript [MJ-480]

getPostajobBUIDAssignation
getHostedStateURL