Restructured js code for data structures used by results page
Increase cascade_s when larger number of users (>=10)