Removed $.min dependency, using document.getElementById instead.