Quick JavaScript application that simulates a checkout scanner.