simple single page javascript application of simon says