added experimental support for mortar in javascript bot