diff --git a/flask_moment.py b/flask_moment.py
index 25f8dca..c050748 100644
--- a/flask_moment.py
+++ b/flask_moment.py
@@ -8,6 +8,7 @@ class _moment(object):
def include_moment(version = '2.5.1'):
if version is not None:
js = '\n' % version
+ js = js or ""
return Markup('''%s