javascript Search page