Rename javascript blocks