Hi @Abduerhman Salama,
I have to agree with @Kilian Hekhuis that your code seems to be fighting the platform instead of taking advantage of it.
That being said, the Screen where you use the library needs to reference it as a Required Script (in this case the query_validate_min script defined in your module). Check the screenshot below for an example.

Hope this helps!