Updated invoice view to have script reload.
 * Made fixes to pay view script reload.