Fixed Jquery for invoice