format readme to JS