use strict does not like absence of brackets on single instruction conditionals
removed conditionals