Merge pull request #143 from zivchang/next

[bug fix] PTSDK-1399
[Bug fixs] PTSDK-1091
- Set light as only available theme
[Bug fixs] PTSDK-1108
- Enable lockScreen function
Fixed error use of frame variable in emulatorBridge.js
Merge remote-tracking branch 'upstream/next' into next
Merge pull request #144 from jacobchen/next

 [Bug fixs] PTSDK-1091
[bug fix] PTSDK-1166

fix when onfail event is triggered by an invalid URL had unexpected
error in the console
Merge remote-tracking branch 'upstream/next' into next