paths, use attr for jQuery < 1.4