Added Activity #1 and #2 to the Javascript file

I'll later organize this under the propper folders.