Remove remaining javascript alerts alert()

Changed to console.log instead.

* Fixes #90