added clearing of default input value after first click
fixed making a request for / in jquery