add a snippet for Crockford's object() function