Plurk: commit add menu & refactor global function