updated js to be nice to django