Added script tags to js on search page