Create reference.js