Repaired some errors with style and js searching