apply ECMA5 for the code totally