create javascript page