working on javascript state page, added pendulum directory