Update jshelpers.js

refactored a couple operators that were missing "="