moved js out of index.html