render callback gets dom element instead of jq objects