simple test JS code