improve indentation of JS