Javascript Entity Component Game Engine