Temporarily fix bug in browserify with own fork. Add more logging. Only
call callback once for sure.