remove javascripts, added partial support for epub