Integrated JS code into django web-app