Broke up main event loop to work in emscripten
Added emscripten conditionals to renderer to get it running
Misc fixes to GLSL code / shaders to get them loading in WebGL
Added JS VM support
misc
Misc fixes to IBO code to correctly use sizeof(glIndex_t)
Use ushort index buffers until FF supports OES_element_index_uint
Broke up CG_Init to enable JS event loop to breathe
Updated build / sound subsystems to decode audio with the web audio API, fixed issue with cgame not processing final load task, disabled playing of looping sounds when sound is missing, default rendering system to fast light path
Disabled GLSL_ValidateProgram, default r_picmip 0 for emscripten builds
Async-ified FS_Startup, removed lazy-loaded sync i/o
Added JS platform to build