Updating javascript to prevent multiple boxes stacking on each other and to use document formatting.

This allows a site to create formatted headers in
div tags and have them be sticky.