remove check for 'object' in height var

It doesn't seem like the check for 'object' is necessary, since we'd want to make sure object has a height attribute and parseInt that as well.