js for show sub categories