Create appTread.js