added index_spec.js to snippets