Просто parseInt…
var window_width=parseInt($(window).width());
Please note: JavaScript is required to post comments.