API functions to display visualizer loading

Try this one out:

require(['src/util/API'], function( API ) {

    API.loading("Loading example");

    setTimeout( API.loading, 1000, "Crunching some data");
    setTimeout( API.loading, 5000, "Processing your data in some
awesome way");
    setTimeout( API.loading, 7000, "Magically displaying everything");

    setTimeout( API.stopLoading, 10000);
})