add js to index and fixes
add scripts to all pages except product-page