Giant update to readium js viewer

I did a merge using "ours" strategy so it blew away any recent changes but the history is still there if there was anything important.