Update curtain.js

Adding mozzila and msie support I forgot to add these lines in previous commit