Modify JS per JSHint recommandation