Add JavaScript implementation of formatting
Trim spaces
Trust me.
Merge pull request #1 from ide-an/master

Formattingの問題にJavaScriptの回答例を追加