Update jps.lua

fix for checking the mount status, boolean since 6.0
Merge pull request #420 from peanutbird/patch-7

Update jps.lua