removed function to fix jquery_update
Fixed an error in the console, undefined function attr().
Missed wrapping element.
Merge pull request #1 from MorganDawe/7.x

7.x console error
Merge pull request #124 from philsogaDGI/7.x

removed function to fix jquery_update