Added javascript to application layout and graph scripts to javascript content block