Comic Reader using Javascript