cleaned up formatting

mtw.js was primarily indented with tabs, but many lines were
a mixture of tabs and spaces. Sometimes four spaces per indent
level, sometimes two.

This commit makes the formatting consistent throughout the file (tabs).