soma.js - Fixes selenium tests #819.

This should solve the selenium tests.