soon to be future Julian will be asking for JS unit tests for this kind of stuff....