Javascript to choose origami