Updated profile actions js