Clean the old code in javascript
Start implementing the select feature dialog
continue select feature