extract js, add colors, fix up java to be more javaish