Corrected ajax url calls to use django url template tag. Fixes #216