add JS to convert menu <ul> to <select> on mobile, add html class fields