Updated javascript blocking