添加公共js文件，统一ajax请求

Signed-off-by: CoolHots <coolhots@outlook.com>