reordee JS dependencies
(cherry picked from commit 91952b9307df01dd8229a361400ba265999d4fae)
Fix #39 - refactor, clean up, update README
Proper alert hiding after searching