JS lib to ease type checking and variables value validation