ajax working, sinatra working