Take into account jsd directory.