Build fireworks using rails jquery and html