Added search bar and it's appropriate javascript