better js indenting and syntax