change to CoffeeScript Style
add 编码规范

Signed-off-by: Sean Fung <fengxiang220@gmail.com>