AIRAVATA-2520 Defer running queue block init code until jquery loaded

Also made some pull request review changes
2 files changed