fix bug when running the asmjs module in the browser; needs to call main() before exported functions will work
add a readme