Added text/javascript to index