In PL, DRY'ing up click events. Fixed javascript indentation
in PL, more indentation fixing, JQueryfied load_table()