Refactored snap.html changes into dynamic change made in runme.js