Fixed and cleaned up Blocks javascript.
Merge pull request #1325 from cmfcmf/blocks-js

Fixed and cleaned up some ZikulaBlocksModule javascript.