workaround for undefined strncpy behavior when src and dest are the same
broke up main event loop to work in emscripten
added emscripten platform
added CDN-based autodownload support to client
added emscripten conditionals to renderer to get it running
misc fixes to GLSL code / shaders to get them loading in WebGL
disabled GLSL_ValidateProgram
disable MD3 lods
adjusted default renderer cvars for emscripten builds
Misc fixes to IBO code to correctly use sizeof(glIndex_t)
broke up CG_Init to enable JS event loop to breathe
async-ified FS_Startup
added JS platform to build
misc SDL fixes until SDL 1.2 headers are fixed in emscripten
fixed diffuse variable reference
added get / set methods for stdinIsATTY so it can be accessed by the JS layer
don't use default master servers
use different default sound due to so many missing assets
namespaced libc functions in bg_lib to prevent collisions with emscripten
updated entrypoint definitions to compile properly with emscripten