Use jQuery attr instead of prop for compatibility with jQuery 1.4.4 in Drupal 7