added js scenario to snippets