document selector library