Updated drop down javascript to YUI3
Fixes #4