Organized text blitting for javascript