Enabled dragging functionality and initial JavaScript to create goal elements