Update rem.js

updated regex with escaped period
updated to support changes in main bot script