modified script file to test github pages .swf problem