Fixed broken homepage JS.