Move funding js to common.js