Update sel-blocks.js

fix typo at line 492 (LOG instead of aLOG), add var XML = {}; at line 862 to prevent error