changed 
JHTML::_('behavior.mootools'); 
by
JHtml::_('behavior.framework');