Update static/lib/js/ajax.js

Once hlfield is assigned the typeof hlfield check will never return true so the value never gets updated to a new one.

That means that the same message is repeated over and over once the first highlighted one has been found.

I'm no JavaScript expert (noob would be more like it) so there might be a more elegant fix for this.
Merge pull request #235 from lfrancke/patch-1

Fix highlighting problem
tweaking bug fix for #222 for multiple Smart_index_patterns
Merge pull request #237 from michaelgibson/kibana-ruby

tweaking bug fix for #222 for multiple Smart_index_patterns
fixed overlap of collapse button and column filter at lower resolutions
Cleanup ruby to 80 columns, fix for issue #230
PAY ATTENTION: RENAMED static/ TO public/ to conform to rack conventions
PAY ATTENTION: RENAMED static/ TO public/ to conform to rack conventions
PAY ATTENTION: RENAMED static/ TO public/ to conform to rack conventions
Refactored file structure to allow app to be mounted into a Rails application
Merge pull request #246 from jamtur01/sinatra-app

Refactored file structure to allow app to be mounted into a Rails applic...
Mentioned change in KibanaConfig.rb location
Merge pull request #247 from jamtur01/kibana-ruby

Mentioned change in KibanaConfig.rb location
Reverted move of KibanaConfig.rb to lib
Merge pull request #248 from jamtur01/kibana-ruby

Reverted move of KibanaConfig.rb to lib
Added bin/kibana and version and updated gemspec
Merge pull request #249 from jamtur01/addbin

Added bin/kibana and version and updated gemspec
rename lib name to match class name
Merge pull request #252 from alouche/transient_url_fix_lib_name

rename kransient lib name to match class name
Fixed config.ru