jQuery tidy

Changed how select ajax calls are made to remove code repetition, upForm
ajax now used on all <select> 's rather than multiple JS functions doing
the same thing with only selectors being different. select.getContents
still needs adapting (trigger not working)