javascript/CMakeLists.txt: change SEND_ERROR for workaround to WARNING
javascript/CMakeLists.txt: change SEND_ERROR for workaround to WARNING

Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

yongli3/mraa,arunlee77/mraa,spitfire88/mraa,Jon-ICS/mraa,stefan-andritoiu/mraa,yongli3/mraa,Propanu/mraa,Propanu/mraa,stefan-andritoiu/mraa-gpio-chardev,spitfire88/mraa,intel-iot-devkit/mraa,ncrastanaren/mraa,stefan-andritoiu/mraa,alext-mkrs/mraa,intel-iot-devkit/mraa,petreeftime/mraa,ncrastanaren/mraa,ProfFan/mraa,Jon-ICS/mraa,andreivasiliu2211/mraa,alext-mkrs/mraa,Hbrinj/mraa,arunlee77/mraa,ncrastanaren/mraa,spitfire88/mraa,Hbrinj/mraa,g-vidal/mraa,jontrulson/mraa,intel-iot-devkit/mraa,stefan-andritoiu/mraa-gpio-chardev,andreivasiliu2211/mraa,malikabhi05/mraa,ProfFan/mraa,KurtE/mraa,yongli3/mraa,spitfire88/mraa,whbruce/mraa,whbruce/mraa,andreivasiliu2211/mraa,arfoll/mraa,sergev/mraa,jontrulson/mraa,Pillar1989/mraa,malikabhi05/mraa,stefan-andritoiu/mraa,sergev/mraa,Hbrinj/mraa,petreeftime/mraa,ProfFan/mraa,ProfFan/mraa,Pillar1989/mraa,w4ilun/mraa,Propanu/mraa,KurtE/mraa,sergev/mraa,stefan-andritoiu/mraa-gpio-chardev,g-vidal/mraa,stefan-andritoiu/mraa-gpio-chardev,g-vidal/mraa,arunlee77/mraa,Propanu/mraa,jontrulson/mraa,KurtE/mraa,arunlee77/mraa,stefan-andritoiu/mraa,stefan-andritoiu/mraa,stefan-andritoiu/mraa-gpio-chardev,intel-iot-devkit/mraa,ncrastanaren/mraa,malikabhi05/mraa,jontrulson/mraa,w4ilun/mraa,Jon-ICS/mraa,g-vidal/mraa,w4ilun/mraa,ncrastanaren/mraa,jontrulson/mraa,yongli3/mraa,andreivasiliu2211/mraa,malikabhi05/mraa,malikabhi05/mraa,KurtE/mraa,alext-mkrs/mraa,KurtE/mraa,Pillar1989/mraa,arfoll/mraa,petreeftime/mraa,g-vidal/mraa,alext-mkrs/mraa,arfoll/mraa,alext-mkrs/mraa,Propanu/mraa,petreeftime/mraa,intel-iot-devkit/mraa,sergev/mraa,Hbrinj/mraa,w4ilun/mraa,arfoll/mraa,whbruce/mraa,arfoll/mraa,sergev/mraa,yongli3/mraa,whbruce/mraa