improve toJs indentation