Javasript in header

Sure, no problem.
Right now the javascript is after the calculator html