Bug fix in kronos.js

Reviewers: maksims, kkamalov, marcua

Reviewed By: kkamalov

Differential Revision: http://phabricator.locu.com/D5290