Bug Fix

Replaced an incorrect function call that appears when running in
chrome, on Windows, served with XAMPP.