Add helper to build option select
Use closest functions instead of parents
Rename node attribute