move all js and css to assests and change search html to ejs