erlang now returns an array of objects for partitions; js is still buggy