Update add.js

modified _addServiceToMap function to create popup for feature layers that are added to map