@Hobbit
console.log() was used just to check event object has which properties. You can remove that line.
Sometimes, .description has no value at all, as false or null. In that case .description.search() couldn’t be perform, so whether check .description is not false or null at first hand. that’s all.

Some enhanced features of my module require JS or CSS skills. So sorry.