adding js & navbar