test javacsript code