diff --git a/applications/admin/views/web2py_ajax.html b/applications/admin/views/web2py_ajax.html
index 357d80503..28ec0e023 100644
--- a/applications/admin/views/web2py_ajax.html
+++ b/applications/admin/views/web2py_ajax.html
@@ -1,10 +1,12 @@
{{
response.files.insert(0,URL('static','js/jquery.js'))
diff --git a/applications/examples/views/web2py_ajax.html b/applications/examples/views/web2py_ajax.html
index 357d80503..0f064de43 100644
--- a/applications/examples/views/web2py_ajax.html
+++ b/applications/examples/views/web2py_ajax.html
@@ -1,10 +1,11 @@
{{
response.files.insert(0,URL('static','js/jquery.js'))
diff --git a/applications/welcome/views/web2py_ajax.html b/applications/welcome/views/web2py_ajax.html
index 357d80503..28ec0e023 100644
--- a/applications/welcome/views/web2py_ajax.html
+++ b/applications/welcome/views/web2py_ajax.html
@@ -1,10 +1,12 @@
{{
response.files.insert(0,URL('static','js/jquery.js'))
diff --git a/gluon/tests/test_appadmin.py b/gluon/tests/test_appadmin.py
index c5e7402ed..4b502c126 100644
--- a/gluon/tests/test_appadmin.py
+++ b/gluon/tests/test_appadmin.py
@@ -31,6 +31,7 @@ class TestAppAdmin(unittest.TestCase):
def setUp(self):
from gluon.globals import Request, Response, Session, current
from gluon.html import A, DIV, FORM, MENU, TABLE, TR, INPUT, URL, XML
+ from gluon.html import ASSIGNJS
from gluon.validators import IS_NOT_EMPTY
from gluon.compileapp import LOAD
from gluon.http import HTTP, redirect