Clean up JS spec helpers, extract
Move 'beforeEach module' to JS spec helper
JS spec cleanup
JS spec cleanup
JS spec cleanup