fixes to the upstart script for jsvc daemon instances