Update common.js

fix for iphones and android not working with drop down menu