externalize libs in browserify
added debug statement
improved documentation