mergin style and js initial load