client reloader
js reorganization for including reloader separately
cleanup
reorganization