converting md->html amd putting the animations js in separate file