Update example to use npm package
Separate tile loading function
Make index.js executable
Release v1.0.0