New Jersey school trades in books for tablets