removes prevent default for ajax calls as there isn't a default anymore
Renames python arrays to 'lists'. I'm still new to this...