1. Fix to ajax without callback
2. Dom header to render based on env var