adding more JSHints checks