Update crowdxblock.js

Some changes to match changes made in the crowdxblock.py file. Variable names aren't all fixed yet.