updates readme with javascript helper usage