Remove commented-out functions

* remove commented-out stuff
* remove shrieking alert and console.log messages