Fixed syntax on js blocks