fix logo layer level. fix code formatting, add crossbrowser compatibility.