Documentation

I just clean the code as specified by the `gulp jshint` task.

**You may have to verify that I don't break anything!**

Can you please correct this last function, you have an error because you pas as argument "result" but you use "result**s**" instead.