fix indent mode in js