Javascript version of the SOLID exercises at the Ladders