use external ol3 amd library