WIP: Clean up JS, profile views, and profile view tests