Removing need for jquery by using plain js solution to adding characters into page