adding variable block in index.html