Create javascript resource page