Javascript url handling for Django that doesn't hurt.