bug fix: using local appframework.js