fix #370 - support for <select> with dynamically added options