cleaned up javascript indentation, added function for multiple selection in grid
added and adjusted css
cleaned up main template