Expanded message in js template and added strict mode