Integrated dynamic-formula in index.html