add unchanged references js code, data that triggers bug, and test data