adding js for share lock on desktop