def recover_constants(py_source,<EOL>replacements):  
for identifier, value in replacements.items():<EOL><INDENT>if identifier.startswith('<STR_LIT>'):<EOL><INDENT>py_source = py_source.replace(identifier,<EOL>'<STR_LIT>' % repr(value))<EOL><DEDENT>elif identifier.startswith('<STR_LIT>'):<EOL><INDENT>py_source = py_source.replace(<EOL>identifier, '<STR_LIT>' % unify_string_literals(value))<EOL><DEDENT>else:<EOL><INDENT>py_source = py_source.replace(identifier, '<STR_LIT>' % value)<EOL><DEDENT><DEDENT>return py_source<EOL>
Converts identifiers representing Js constants to the PyJs constants
    PyJsNumberConst_1_ which has the true value of 5 will be converted to PyJsNumber(5)