add js to paper search