Moved JS from a single file into each template, rewrote grid views to ha...

...ndle all GETs, returned non-grid views to original (Django) functionality.