Update add.js

added a ranged slider to the add page