Made JS wrapper optional