Removing index -page javascript problem.