Give your Javascript objects an extra dimension.