- adding doclets to the JS code