Create rtr-snippet.js