added languages dynamically, database updating. fixing broken js validation for dynamic select boxes