added solutions to all challenge.js. cleaned up tests.