Fork of http://ivaynberg.github.com/select2/, modified to work with AMD loader.