Add scr.fgets and fix rax2 -s for emscripten