You can do `_fixDef.density` = attrs.density ? 1` in CoffeeScript.

I'm not sure why you would need to set a default value, since I think Box2D has default values already.