invoice js modificaiton.. working