repairing challenges endpoint, removing all param from js