Fixed JSHint warning messages about using dot notation instead of brackets