externalized riot.js script