Bug fix that prevented jquery to use native func°