Added ref to remote demo.js