Add reverse function
Run jsdoc