test js func removed