added test javascript-function