page front js