compute width/height with css
change variable names
Merge pull request #1 from thelmanews/compute-width-height

Compute width height