attempt to fix fb javascript error for http/https incompatabilities