rewrite using underscore and local-storage-json modules
put vars inside wrapper fn
check to make sure we are in a node env
Merge pull request #1 from exfm/underscore

Underscore