javascript: added ++ for JSArray
javascript: indentation