diff --git a/main/template/default/layout/head.tpl b/main/template/default/layout/head.tpl
index 14eef970de..a77a592594 100644
--- a/main/template/default/layout/head.tpl
+++ b/main/template/default/layout/head.tpl
@@ -9,7 +9,6 @@
{# Use the latest engine in ie8/ie9 or use google chrome engine if available #}
{# Improve usability in portal devices #}
-
{{ title_string }}
{{ css_file_to_string }}
{{ css_style_print }}
diff --git a/main/template/jqm/index/course_block.tpl b/main/template/jqm/index/course_block.tpl
deleted file mode 100644
index 70f218bb0a..0000000000
--- a/main/template/jqm/index/course_block.tpl
+++ /dev/null
@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': course_block} %}
\ No newline at end of file
diff --git a/main/template/jqm/index/course_session_block.tpl b/main/template/jqm/index/course_session_block.tpl
deleted file mode 100644
index 23b6c35e27..0000000000
--- a/main/template/jqm/index/course_session_block.tpl
+++ /dev/null
@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': course_session_block} %}
\ No newline at end of file
diff --git a/main/template/jqm/index/notice_block.tpl b/main/template/jqm/index/notice_block.tpl
deleted file mode 100644
index e6205c3492..0000000000
--- a/main/template/jqm/index/notice_block.tpl
+++ /dev/null
@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': notice_block} %}
\ No newline at end of file
diff --git a/main/template/jqm/index/skills_block.tpl b/main/template/jqm/index/skills_block.tpl
deleted file mode 100644
index d27587a19d..0000000000
--- a/main/template/jqm/index/skills_block.tpl
+++ /dev/null
@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': skills_block} %}
\ No newline at end of file
diff --git a/main/template/jqm/index/teacher_block.tpl b/main/template/jqm/index/teacher_block.tpl
deleted file mode 100644
index c9dd5c96ae..0000000000
--- a/main/template/jqm/index/teacher_block.tpl
+++ /dev/null
@@ -1 +0,0 @@
-{% include 'default/layout/block_menu.tpl' with {'block_menu': teacher_block} %}
\ No newline at end of file
diff --git a/main/template/jqm/userportal/course_page.tpl b/main/template/jqm/userportal/course_page.tpl
deleted file mode 100644
index be719a0472..0000000000
--- a/main/template/jqm/userportal/course_page.tpl
+++ /dev/null
@@ -1,2 +0,0 @@
-{% extends "default/layout/layout_2_col.tpl" %}
-
diff --git a/main/template/jqm/userportal/index.tpl b/main/template/jqm/userportal/index.tpl
deleted file mode 100644
index 4fd1b8f775..0000000000
--- a/main/template/jqm/userportal/index.tpl
+++ /dev/null
@@ -1 +0,0 @@
-{% extends "default/layout/layout_2_col.tpl" %}
\ No newline at end of file
diff --git a/main/template/jqm/admin/settings_index.tpl b/main/template/jquery_mobile/admin/settings_index.tpl
similarity index 95%
rename from main/template/jqm/admin/settings_index.tpl
rename to main/template/jquery_mobile/admin/settings_index.tpl
index 337b31b92b..81b6ff5d2e 100644
--- a/main/template/jqm/admin/settings_index.tpl
+++ b/main/template/jquery_mobile/admin/settings_index.tpl
@@ -1,4 +1,4 @@
-{% extends "default/layout/layout_1_col.tpl" %}
+{% extends "jquery_mobile/layout/layout_1_col.tpl" %}
{% block content %}
\ No newline at end of file
+
diff --git a/main/template/jqm/notebook/upload.tpl b/main/template/jquery_mobile/notebook/edit.tpl
similarity index 65%
rename from main/template/jqm/notebook/upload.tpl
rename to main/template/jquery_mobile/notebook/edit.tpl
index 54dc5810fe..1bc933d8c7 100644
--- a/main/template/jqm/notebook/upload.tpl
+++ b/main/template/jquery_mobile/notebook/edit.tpl
@@ -1,4 +1,5 @@
-{% include 'default/notebook/header.tpl' %}
+
+{% include 'jquery_mobile/notebook/header.tpl' %}
-{{form.return_form()}}
\ No newline at end of file
+{{form.return_form()}}
diff --git a/main/template/jqm/notebook/header.tpl b/main/template/jquery_mobile/notebook/header.tpl
similarity index 100%
rename from main/template/jqm/notebook/header.tpl
rename to main/template/jquery_mobile/notebook/header.tpl
diff --git a/main/template/jqm/notebook/index.tpl b/main/template/jquery_mobile/notebook/index.tpl
similarity index 90%
rename from main/template/jqm/notebook/index.tpl
rename to main/template/jquery_mobile/notebook/index.tpl
index 33223a7398..524b52ec5c 100644
--- a/main/template/jqm/notebook/index.tpl
+++ b/main/template/jquery_mobile/notebook/index.tpl
@@ -1,5 +1,5 @@
-{% include 'default/notebook/header.tpl' %}
-{% include 'default/notebook/javascript.tpl' %}
+{% include 'jquery_mobile/notebook/header.tpl' %}
+{% include 'jquery_mobile/notebook/javascript.tpl' %}
{% if is_allowed_to_edit %}
@@ -37,5 +37,5 @@
-{% include 'default/notebook/list.tpl' %}
+{% include 'jquery_mobile/notebook/list.tpl' %}
diff --git a/main/template/jqm/notebook/javascript.tpl b/main/template/jquery_mobile/notebook/javascript.tpl
similarity index 100%
rename from main/template/jqm/notebook/javascript.tpl
rename to main/template/jquery_mobile/notebook/javascript.tpl
diff --git a/main/template/jqm/notebook/list.tpl b/main/template/jquery_mobile/notebook/list.tpl
similarity index 100%
rename from main/template/jqm/notebook/list.tpl
rename to main/template/jquery_mobile/notebook/list.tpl
diff --git a/main/template/jqm/notebook/edit.tpl b/main/template/jquery_mobile/notebook/upload.tpl
similarity index 75%
rename from main/template/jqm/notebook/edit.tpl
rename to main/template/jquery_mobile/notebook/upload.tpl
index 244ffab0dc..0ca4792fa3 100644
--- a/main/template/jqm/notebook/edit.tpl
+++ b/main/template/jquery_mobile/notebook/upload.tpl
@@ -1,5 +1,4 @@
-
-{% include 'default/notebook/header.tpl' %}
+{% include 'jquery_mobile/notebook/header.tpl' %}
-
\ No newline at end of file
+
diff --git a/main/template/jqm/skill/skill_wheel.js.tpl b/main/template/jquery_mobile/skill/skill_wheel.js.tpl
similarity index 99%
rename from main/template/jqm/skill/skill_wheel.js.tpl
rename to main/template/jquery_mobile/skill/skill_wheel.js.tpl
index 74de28a41b..d680680988 100644
--- a/main/template/jqm/skill/skill_wheel.js.tpl
+++ b/main/template/jquery_mobile/skill/skill_wheel.js.tpl
@@ -1,5 +1,5 @@
{# topbar #}
-{% include "default/layout/topbar.tpl" %}
+{% include "jquery_mobile/layout/topbar.tpl" %}