add javascript for responsive menu