Game engine for browsers