Finish RAF and some shim scripts to emulate browser environment