started type def for binary js types