Update 0.0.4.js

better logging for 0.0.4