JavaScript core object enhance.