added javascript to mobile nav