Rapid Serial Visual Presentation, in javascript