removed router and as_app docs
jshint compliance