Should this be 
print $js->encode($jobs);