js blocks => resources