Fixed small bugs found by jshint in Tizen module