Fixed #23583 - Makemessages for javascript

Makemessages looks in STATIC and MEDIA dirs for javascript files.

See https://code.djangoproject.com/ticket/23583