An AIE based fluorescent chemosensor for ratiometric detection of hypochlorous acid and its application.