Use dot notation in JavaScript

Fix the code that makes JSHint issue the better written
in dot notation warning.

Change-Id: Iee0b8ede36170cbe9e60a06e3d252b797db63a30
Implements: blueprint js-coding-style-checks
Merge "Use dot notation in JavaScript"