scheme.js: Added arity checks for the remaining functions