Merged index with script.js