bugfix remove borrow js functions if borros is not activated