add some console.log's.
add some console.log's.
removed extraneous commented-out code.