separate JS functionality from Django in import app