* Add if statement for case where shortcutsGroup can be undefined * Use "===" instead of "==". Comparison prefix "==" may cause unexpected type coercion * Remove anonymous function wrapping
It doesn't fire if you go back to the edit page and the browser auto-fills the previous contents, but oh well.