Add 'doctype html' to index.html so that .height() returns the correct value in firefox.