Simon in javascript