Zap version of jQ

This is a slightly customized version for our own purposes no new
features, this are mostly enhancements for our specific needs.