Fix AppCtrl for jshint and regenerate _media.html