js wrapped examples