Fix undefined object exception on load
Fix pbdkf2 module reference
Merge pull request #5 from gavllew/master

Fixes in index.js