refactored javascript handliong, added logo