Fix the bug on JavaScript method spec.

Array#push(newItem) returns not newArray but newItem.
Merge pull request #2 from KOBA789/master

the code of the reducer code template is broken