Darna JS interface