t411 - some js code cleanup (tabs to spaces)