Moved js out of index.html into scripts.js