fixing issue #47: change js alerts by emerging message
Merge branch 'ws_dev' of https://github.com/diego-torres/SISOPREGA into ws_dev