A compiler for the swift language to Javascript