cookie setting issue fixed. optimized js codes to load and set bundle effectively.