improve javascript indentation