I think it's better to expose these functions at the end of the js file.
If you insist, I will undo it.