Fixed bugs that caused Knwl.js to break