Pedagogy JavaScript Fixes