PHP v5.5: preg_replace(): The /e modifier is deprecated - Fixed

hasFlash() method throwing error. - Fixed