Write viewport initial scale by javascript.