Use Function#bind instead of arrow function expressions
Replace Array#forEach with Array#map
Merge pull request #5 from jeby-jeby/modernize

Use modern javascript features