js component base on Bootstrap