JS action share window