added bs in javascript