js for add ny bok - working