javascript test programms