function setProjectName(name) {
    if(name == undefined) {
        $('#projectName').html('Untitled');
        return;
    }
    name = stripTags(name);
    projectName = name;
    $('#projectName').html(name);
}
Function to set the name of project.
@param {string} name - name for project
@category data