Fixed obscure unicode serialization bug that occurs only when you write illegal Javascript (long story)