LB-1373 Refactor app.js, set a function for liveblog setting