Hi,
Give a name to the map in Service studio, then pass that id of the map to your JS node and try this:
setTimeout(function(){
var map = MapAPI.MapManager.GetMapById(YourMapIdInput).provider;
var bounds = map.getBounds();
var southWest = bounds.getSouthWest();
var northEast = bounds.getNorthEast();
},100);
Let me know if this helped.
Cheers,
Paulo