RR: changes to js file and gitignore.

Change-Id: I10d2345145f3fe724b653aa724642e923876b69b