Refactor indenter as jQuery widget
Add code in response to previous refactoring