small changes in JS code after code review
added default value of $wgEnableWAMPageExt
changed WAM config variable name so it is more consistent with enabling/disabling variable
Merge branch 'bugid-98309' into dev
fix PHP warning in Theme Designer