skeleton made for js event upon filling in #inputbar