Fix silly mistake in EEXIST handling.
Move js sources to a subdirectory and add a build step for npm.
Remove explicit requiring of streamline js and update bin to point to the
right directory.