update the js interop code
replace map with jsify
Merge pull request #96 from sethladd/master

update the js interop code