Code moved to index.html