Pages: fix insertion of embedded in webkit browsers; pack scripts