fix bug JS & update Foundation + fix new bugs