Updated the Javascript file

actually added real javascript to the file