* JSLint refactoring