$( document ).ready( function () {
"use strict";
// taskbar has to be created first
$( ".taskbar" ).taskbar();
// window is binded to taskbar widget,
// so it has to be created second
$( ".window" ).window();
});