Revert to previous module_actions.js for more info

Move tests from spec/javascripts/common into spec/javascripts/spec/common
so that they actually get run.

Use a different class for figuring out whether JS is enabled. It's faster.