[javascript] How do I test for an empty JavaScript object?