Fix typos in javascript_focus() calls

The forms for adding a new Automate namespace or adding a new class to an existing namespace are rendering as expected again.

@h-kataria please review.