Improve ink css

Changed the getStyle to use document.defaultView.getComputedStyle instead of window.getComputedStyle, when available, to fix any issues regarding performance ( http://stackoverflow.com/questions/9377639/too-slow-when-getting-current-style-on-chrome-using-javascript )