prevent dragging in head.js