Removed misplaced variable declaration, add use strict