Add callback to stylesheet query