bumped version. added documentation. fixed nits in sn-core.js