moved js to static/assets/js