Ruby and Javascript exercises ( with tests ) from http://exercism.io/