[Luis] add callback to the head not body of the document