move require statements outside parse function to attempt to satisfy browserify
version