modified classpath reference to new version
refactored small statement
improved check on whether to show cors-enabled explanation. now it doesnt show the message when yasgui runs in single endpoint mode, as you might want to specify 'localhost' as the endpoint, when the endpoint runs on the same server as yasgui