Update RSI_ID.js

Removed duplicate template string replace. Was not causing errors, but could be confusing. Also changed the line order to match the template.