Added custom setting handling + tiny fix in shoutreplace.js