script.js loaded twice. fixed