Added patch that fixes problems with jQuery 1.4 and 1.8 for ctools i.e.