published blog error in javascript
published blog es3 to es5