From http://coding.smashingmagazine.com/2012/02/13/progressive-and-responsive-navigation/
List to Select javascript Snippet