working on view spec for the jQuery script on dropdown