scale by javascript not by CSS (nicer for chrome)