js for testing