Changed URL to "localhost" to "127.0.0.1"

Because of Content Security Policy of Facebook, dotjs was not
working for facebook. Changing localhost url from to 127.0.0.1 fixed
the issue.