UPDATE: upgrade functionality to 3.1

Upgrades this module to work with 3.1.

I haven't added a composer file as I was unsure what the name should be. I also havent tested in IE7/IE8 as it is now using default CMS functionality for the drop down interaction which I assume works in these environments.