partialapplication.js