finshed nav and added javascript