New version - no jQuery dependency is required