Rename connector method

Rename connector method.
Fix connector url in views

Fix connector url in views and add customData and customHeaders to
Javascript initializing script code.