fix iframe for ipad
added init file example