added creating JS docs adn fixed teh missing publishing tab at teh top of the pages