references js adding