JavaScript 1.8 version that only uses 58 characters
shaved off 12 characters with => syntax as suggested by /u/inmatarian

see: http://www.reddit.com/r/programming/comments/2btrvt/gal/cj97o5f
Merge pull request #102 from panzi/javascript1.8

JavaScript 1.8 version that only uses 58 characters