If the project eschews standards, let's fork it and make it use best practices.

How hard would it be to borrow this code and turn it into a plugin?