Correctly referencing scripts in index.html