change examples helpers cofee to JS