JavaScript scale() demo