bug script js in index page