add AFLayout Object. update jshint settings.