change totoro.js position
refactor code adapter totorojs/totoro#111