Javascript hw (transitions) Nov. 4, 2013