simple plugin based javascript game engine