Use console for unhandled errors instead of alert

This came up for me today when refreshing (an AJAX request hadn't finished, it seems).  I thought it would be better to just log the errors than interrupt the user -- at least for now.

Thanks for making this project!  It's quite nice.

Ben