added solutions to all challenge.js. cleaned up tests.
Merge pull request #5 from Bloc/js-array-exercises

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