Added height detail
Removed jQuery
Now all in pure JS