init styling for rmodules view
move the trigger method to the top to ease the readability
Adjust indentation, remove unnecessary class
init application resources
Refactor js injection to use jquery instead of old prototype js
Exclude heatmap.js from initialization since it'll be loaded per request (heatmap js will be only loaded when heatmap analysis is selected)
- Refactor heatmap view to use non-table based layout
- Include heatmap script dynamically