Javascript sequence viewer