Javascript component to fire x/y coordinates for drag actions