Js for page search & styling