Update js/bootstrap-collapse.js

Fixed the if block to properly check if siblings exist.