Finishing touches with javascript (added easing) and structure