Bug fix, valhook jquery 1.9 & valhook set text

valhook can only be used with type and nodename with jQuery 1.9 instead of css classes