[Koha] using javascript functions with koha