Change the js to not call ajax