code: private String getResizeJavaScript() {				
  		StringBuilder sb = new StringBuilder();
  		sb.append("$(window).bind(\'resizeEnd\',function(){");
  		sb.append(getAlarmCall());
  		sb.append("});");
  		return sb.toString();
  	}
docs: alarm call will be made only when resize event finished!