tiny javascript library for asserting types on function arguments