Fix to remove the history every time it does not match the pattern, even the first key.

konami.js was acting like a limited keylogger.