Update javascript library versions
Better logging
Fix index count if index when missing
Fix typo

- Add js script to find and switch to master
New delete REST api
Set timestamp in the last item of initial import
Additional check if _river index exists
Remove commented code