Adding gitignore.
Adding function js files.