added small js function to make configuration form well arranged