cherrypick: inline css
cherrypick: inline assets inclusion via custom helper, instead of partial. move template helpers and error helper to app_modules/helpers.js.