Add rebuild on window resize

...and update karma config and spec
Version bump