Added Javascript functions for showing and hiding overrides and detailed calculations.