JSHint config added.
More style-related fixes.