add book search js