User:Prince(ss) Platinum/sonic-screwdriver.js

$(function($) {   var screwdriver = {        init: function {            this.core;            this.modal;        },        core: function {            var core = [                '',                ' '            ];            $(core).each(function(i) { $('body').append(core[i]); });       },        modal: function {            var modal = ' Test  ';            $('body').append(modal);            $('#screwdriver').dialog({ height: 140, modal: true });       }    };    $(function { screwdriver.init; }); })(this.jQuery);