experimenting with dynamically scaling the content with javascript