working sf2_to_js and minor refactors
refactors and README update
update docs and use 'undefined' instead of nil