Refactored javascript into a separate file for easier editing
Fix jslint warnings
JENKINS-20552: Add jenkins is going to shut down message
JENKINS-20552: ensure shutdown message is based on json response
Added more details and links to the job info div