remove redundant ExternalInterface.call
add missing params in config
add PubNubSecure class