Update shadow.class.js

Return null if options is null, to make .setShandow(null) work.