JavaScript implementation of adblockparser python version