add cross-browser support for shadow effect
add cross-browser support for shadow effect