refining epub and mobi and adding html theme