Added footer in main view for javascript