add following line in js/seapi.js:
var sedom = window.navigator.seManager;