Code refactoring in tizen.js driver config.