fix context in IE11, improve computeStyle helper
minor improvements in the context method