Add lunrjs support, add partials to simplify usage