Fix deprecation warnings from QEJS

[closes #120]