Adding JSDoc and updating README