fix blast ajax and refactor javascript code.
finish re-factoring of Blast code.
Merge branch 'master' into topic/fix_blast_ajax