Fix deprecation warnings from QEJS [closes #120]
Merge pull request #121 from ForbesLindesay/patch-1

Fix deprecation warnings from QEJS