adding docs js file