whitespace
convert to use browserify for builds
fix some failing tests