Allow node.js optimisations to be disabled, and test without