[CDF-269] Sparkl dashboard doesn't work after new cdf installed - Endpoi...

...nts.getPluginEndpoint is undefined

	- also fixed a invalid url path to simile-ajax-api.js when using a sparkl plugin