small changes + js updated for VPS