a little number guess game using ruby & sinatra & jQuery