my javascript library support cross-browser operation