finished the activities event gallery and added javascript support for c...

...omponents.