Upgraded to ol3.js version 3.0.0.