Added search box and some awful javascript that doesnt work