added homepage example and adjusted to js and css