Simplify isIntN, add bower support