framework.js mv some code