Fixed some minor issues

made the file references work with any protocol,
updated module.js to work when iframed