rendering js pages