fix more minor case mistakes

It's really hard to know if an attribute is related to js
or ruby so some that shouldn't have been swapped were
accidently.