- adding in optimized js for demo