var keenConfig = {
    projectId: "keen_project_id",
    readKey: "keen_read_key"
}

var config = {
    projectName: "project_name"
}

var keenConfig = {
    projectId: "keen_project_id",
    readKey: "keen_read_key"
};

var config = {
    projectName: "project_name"
};

add semicolons