changed logo and encapsulated jquery function