Magic. GenieJS was built to bring behavior found in Alfred to JavaScript. Register functions associated with one or more keywords and then you can do a search with keywords and GenieJS will miraculously return them in a logical order depending on the keyword given. Genie also learns about the user over time and brings even more relevant results up front. Genie is tested and ready for production, very easy to add to your app and improve user experience, has no dependencies, and is only 8 KB uglified.