testing js code