added option box from javascript