using require. separate in two index.html and index-prod.html