fix init page js