Simplify package.json
Implement simple mechanism to calculate content size
Wire content sizing into draw code, fix issue with JavaScript executed twice