linted pmeasure_stash.js. Next step is to write over pmeasure.js and merge this branch into master.