Cleaned up ActivitySchema edit page to make editing bearable
Pulled out JS into its own file