Modularize Javascript.
Replace ENV with more fine grained SERVER_HOST.