updated reference js