Update hbs_configpoke.js

Found a bug where replace breaks on none string values.  Found a bug with string.replace(<string lit>,<string lit>) where it eats a character token under certain conditions, but string.replace (<regex>, <string lit>) does not so using that instead.
Merge pull request #3 from lamchakchan/master

Update hbs_configpoke.js