add -O2 option to the emcc compilation