fixing demo's adding script dependencies and IE compat for tests