Vanilla SpiderMonkey v21
PATCH: Compile options for Android
PATCH: Adds builds scripts for ios, android, osx and win32
PATCH: Adds ios.m4 file with iOS build commands
PATCH: configure.in has iOS options
PATCH: JS_METHODJIT_SPEW should not be defined in DEBUG mode

...if not explicity defined
PATCH: Don't use optimized ARM assembly code when using clang
PATCH: Don't use JSVAL ids for ABI compatibility

...since cocos2d SpiderMonkey as a static library and needs to have the
same ABI both on debug and release mode
PATCH: Don't enable YARR_JIT if it is explicity disabled
PATCH: aclocal.m4 includes iOS.m4 macro
PATCH: Updated configure with the new iOS.m4 macro
SpiderMonkey v21 uses the "Firefox" build system

...so these directories are needed in order to compile SpiderMonkey v21