Better addition javascript handling.