Change Object To Array Javascript Documentation Standards