Added template transpilation to JS code
Removed code related to the React transpilation attempt