Update thx.js

putting some new things, taken spinner by theme and counter for appart.