New version of DG javascript file
Implemented an init function for initializing gateways
Init function for the gateways
Using wp_validate_redirect() instead of esc_js()
Using the Sales Log Id for the Invoice Id
Using Sessionid for the Invoice Id