Updating Javascript section