Fixed drag n drop in script.js