added draggable sample on javascript