Fix javascript auto object key sorting