Update beta.js

The upcoming universal selector is going to make it *alot* easier to execute the necessary function.