rc cleanup and BDD JS snippets