remove garbage code.
remove active page script and clean up.
add select league json for Ajax
modified apply for league view.