add package.json, use npm for dependencies
fix whitespace and image links in examples