PHP 5.4 compatibility

Use of e-modifier in preg_replace is deprecated, replaced by preg_replace_callback