Fixing issues with MxGraph JSNI.
- Changed console.log to alert as IE11 does not funciton with
$wnd.console.log.
- Changed code flow path for ensuring widget element is existing before
creating mxGraph with containerId.