Removed the code handling chosen and replaced it with select2