Works for Intel XDK emulator and devices.