Better server error handing in JS

Signed-off-by: David Saradini <david.saradini@me.com>
Working on firefox.

Signed-off-by: David Saradini <david.saradini@me.com>
Working with selenium tests

Signed-off-by: David Saradini <david.saradini@me.com>
Story map version beta

Signed-off-by: David Saradini <david.saradini@me.com>