returning data from index.html insted of hard coded string