Merge pull request #2265 from patheard/form-valid

Form valid: fixed error placement when fieldset is a jQM controlgroup
Expand collapse all: fixed MediaQueryList.addListener support check