JStools function to get an element's style.