need javascript to do dynamic zoom