Added js interface