Completed load invoice template handler using JS and ajax handler.