improve javascript handling when adding entries