replaced the remaining CylonJS util functions with the standard JS replacements.