Fix lint errors in appframework.js