Adjust normalisation to make normalised code behave better under node.js