Rename switch_snippet to switch_snippet.js