diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -4,9 +4,10 @@ module.exports = function(source) {
     this.cacheable(false);
 
     if (markoCompiler.compileForBrowser) {
-        return markoCompiler.compileForBrowser(source, this.resourcePath, {
+        var compiled = markoCompiler.compileForBrowser(source, this.resourcePath, {
     		writeToDisk: false
     	});
+        return compiled.code;
     } else {
         return markoCompiler.compile(source, this.resourcePath, {
     		writeToDisk: false
Updated to latest compileForBrowser API