migrate facebook ads to new javascript api