Refactors profile actions JS to just toggle() for simplicity