GPII-135: clean up

Fixed a cut and paste error. Also removed a console.log function that had been there for debugging purposes.