Facebook Like (&Send) Button

I have been trying to use the facebook like (& send) button in my vaadin application as described at http://developers.facebook.com/docs/reference/plugins/like/

The code that I have got so far is

private AbstractLayout buildFacebookLikeLayout() {
	final String script = "<div id=\"fb-root\"></div>"+
							"<script>(function(d, s, id) {"+
							"var js, fjs = d.getElementsByTagName(s)[0]

“if (d.getElementById(id)) return;”+
“js = d.createElement(s); js.id = id;”+
“js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=1122257322600001";”+
“fjs.parentNode.insertBefore(js, fjs);”+
“}(document, ‘script’, ‘facebook-jssdk’));” +
"<div class="fb-like" data-href="http://www.example.com" " +
"data-send="true" data-layout="button_count" data-width="150" " +

			CustomLayout fb = null ; 
			try {
			fb = new CustomLayout(new ByteArrayInputStream(script.getBytes()));
			} catch (IOException e) {
			return fb;

I add this layout to the main layout. The ‘Like’ and ‘Send’ button appears in the page just fine. The ‘Like’ button works just fine as well. However, the ‘Send’ button which is supposed to open a pop up, just does not work. In fact, none of the buttons which requires a pop up to come up works.

Any thoughts?