live.js snippet