LP#1673870: move ebook availability JS to standard location