Javascript reserved keyword Bug Fix

Fixed an issue where CSS ID, Classes, and reference links failed
to work when they're using built-in keywords reserved in Javascript,
such as "hasOwnProperty" (Object.prototype.hasOwnProperty) and
"constructor".