Update control.js

corrected case