Added switch case and linked jquery