create package.json for the sample so it doesn't crowd actual package
Merge pull request #8 from omsmith/samplePackage

create package.json for the sample so it doesn't crowd actual package
assume nodejs and provide browser build with browserify
parse url params using url module
use url module to build targetUrl