Update snow.js

Changed rendering and creation methods.