Remove duplicate code
Remove duplicate code

leonardoo/django-js-reverse,BrnoPCmaniak/django-js-reverse,PokaInc/django-js-reverse,ierror/django-js-reverse,chripede/django-js-reverse,bung87/django-js-reverse