CB-6973: Fix JSHint errors in plugman/platforms/*