Minor changes to PQ.js

Minor code tidy on PQ.js to remove things lowering our code climate score