Get it working in cocoon js.