Use appropriate block for js scripts