Correct path to mockAPI so 'npm test' works from js/ directory.

Change-Id: Ia0f0f8a449c5bdea94339733166684c8ce8b8f69