javascript share as...