added js lib and fixed redis