Make js snapshot operations use given name instead of "name"
Merge pull request #1 from georg/master

Make js snapshot operations use given name instead of "name"