adding optimized js