Added observer for content.length. Fixes #20