Add js example docs for application-helpers. Update docs for new beforeAction.