Add more robust condition for enqueing comment reply script