remove semicolons & add use strict
reset non-zero fail counter on successful login