Modified advancedblocks.js

Modified advancedblocks.js