Javascript Javascript Canvas Reference transform