added js libs for offline work