quote identifiers in javascript to fix unrecognized expression error