moving snapshot.js into root of project