move search box and clean js