Fix build script which was failing to copy example.js