quick lint of lab.js

did a quick lint/cleanup of lab.js before I try to fix the notification
issue
initial attempt to fix issue #49

This should make the notification close on click. I still haven't added
the timeout function.