Refactor iframely.js doc