JavaScript solution added

Solves Problem 1 from Project Euler using JavaScript

https://projecteuler.net/problem=1