try to escape single quote

single quote make error with JavaScript command.
There is a better way to escape I think... (but I don't know actually...)