Make APPLE_REF as unicode
Fix urls in html files