Fixing javascript docs permalink