Added Strict JSHint options, and modified code to follow them