remove JS library leftover
resize pdf container on window resize