add jobstatus.js

accepts qstat job ID as argument and returns job status