Fixed JSHint issues in plugins