A flexible and powerful access control library for JavaScript applications with dynamic validation support