Change in the Tiapp and main.js