Update snap.js

dynamic control. (>.<)