comment credit balance js