Add fourth javascript solution
Actually fifth solution - this stuff moves fast, yo
Merge pull request #45 from notduncansmith/master

Add fourth javascript solution