diff --git a/module/search/view/buildform.html.php b/module/search/view/buildform.html.php
index 3d84badf51..a098d6717b 100644
--- a/module/search/view/buildform.html.php
+++ b/module/search/view/buildform.html.php
@@ -10,6 +10,10 @@
* @link http://www.zentao.net
*/
?>
+app->getWebRoot();
+$jsRoot = $webRoot . "js/";
+?>