Update add.js

added functions to do select even and odd numbers (even not working atm