Create script.js

Added script file with option for draggable objects.