added js linting and copyright statement

Change-Id: Ife839a50d61b7f0f423645d4b020d5b47f0846f2