extracted js from index.html