Fixed featurelayer popup code and retina toggling

arcgisfeaturelayer.html now lets you load different feature service endpoints