simple to do in pure js and bootstrap