give configured limits to js also, so stuff has not to be kept in sync manually, fixes #109