Fix toggle feature and error message
This release fixed a bug mentioned here #92
There was also an issue when you pass in an error message with double quotes, it would cause syntax error in JavaScript in the browser when request fails.
This release fixed a bug mentioned here #92
There was also an issue when you pass in an error message with double quotes, it would cause syntax error in JavaScript in the browser when request fails.