Local host bug fixed

Using word "yes" not activating AJAX response properly.  Changed by
integer 1.  Now it works well.  To be tested on web server.