fixed jslint issue on "kami" global definition