fixed bug with JS prob characters