remove static script and include socket-io gem