add support for JS