JavaScriptで知ってHappyになる型変換 ref: http://qiita.com/aimoriu/items/c020204c7bb9bf84b477