read from index.html instead of hard coded string