Solved browser incompatibility (Firefox didn't read the margin when using JS to set the component's height)