Update jsTifier.js

Additional comments, reformatted code.