adding credit to JS