Lightweight feature-flipping library for JavaScript