Selected attr added to dropdown. JS versions added to array