Initial type convert from JS