Fixed collapsable blocks when blocks are added dinamycally
Using data-view attributes instead of ids for views buttons
Merge branch 'fixes/broken-js'